package org.praluca.test1;

public class Arrays {
        public static void main(String[ ] args) {
        int[] Sir;
        Sir = new int[10];
                Sir [0]=10;
                Sir [1]=11;
                Sir [2]=21;
                Sir [3]=32;
                Sir [4]=43;
                Sir [5]=57;
                Sir [6]=6;
                Sir [7]=74;
                Sir [8]=82;
                Sir [9]=96;
    System.out.println("sirul de numere este:" +Sir[0]+" "+Sir[1]+" "+Sir[2]+" "+Sir[3]+" "+Sir[4]+" "+Sir[5]+
                " "+Sir[6]+" "+Sir[7]+" "+Sir[8]+" "+Sir[9]);   
        

   
        int[] Array;
        int i;
        Array=new int[10];
                for (i=0;i<10;i++) {
                         Array[i]=i;
                         System.out.println ("sirul creat cu for este:"+ Array[i]);
                        }
        }
}


